-
Home
-
Matomo Analytics – Ethical Stats. Powerful Insights.
-
5.2.0
-
Code
-
Classes
- NumberFormatter
Total Complexity |
55 |
Dependencies |
4 |
Dependents |
19 |
Total lines |
333 |
Lines of code |
176 |
Logical lines of code |
115 |
Comment lines |
133 |
Methods |
18 |
Properties |
3 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
formatNumberWithPattern() |
A |
43 |
12 |
45 |
determineCorrectCompactPattern() |
A |
51 |
9 |
25 |
formatPercentEvolution() |
S |
63 |
4 |
9 |
formatCurrency() |
S |
60 |
3 |
13 |
format() |
S |
69 |
3 |
6 |
formatNumberCompact() |
S |
65 |
3 |
8 |
formatCurrencyCompact() |
S |
64 |
3 |
8 |
getPattern() |
S |
64 |
3 |
9 |
formatCompact() |
S |
61 |
2 |
11 |
getMaxFractionDigitsForCompactFormat() |
S |
79 |
2 |
3 |
replaceSymbols() |
S |
66 |
2 |
7 |
formatPercent() |
S |
66 |
2 |
8 |
parsePattern() |
S |
67 |
2 |
7 |
getInstance() |
S |
79 |
1 |
3 |
__construct() |
S |
81 |
1 |
3 |
isNegative() |
S |
80 |
1 |
3 |
formatNumber() |
S |
74 |
1 |
4 |
clearCache() |
S |
77 |
1 |
4 |